<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jstl/core">
          
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title"/></title>
        <link href="/Aurea/css/default.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
   
        <div id="container">

            <div id="header">
                <ui:include src="headerTemplate.xhtml"/>
            </div>

            <div id="menu">
                <ui:include src="menuTemplate.xhtml"/>
            </div>
            
            <div id="special" style="height:20">
                <c:if test="#{!Security.isUserLogued}"><ui:include src="../web-pages/loginForm.xhtml"/></c:if>
                <c:if test="#{Security.isUserLogued}"><ui:insert name="options"/></c:if>
            </div>
            
            <div id="sidebar1">
                <ui:include src="sidebar1Template.xhtml"/>
            </div>

            <div id="mainContent">
                <ui:insert name="mainContent"/>
            </div>

            <div id="sidebar2">
                <ui:include src="sidebar2Template.xhtml"/>
            </div>
            <div id="footer">
                <ui:include src="footerTemplate.xhtml"/>
            </div>
        </div>

    </body>
    
</html>
